package com.zjitc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/19 14:12
 * @description:
 */
@Controller
public class HelloController {

  /**
   * GET - 从指定的资源请求数据。
     POST - 向指定的资源提交要被处理的数据
   * 处理请求的url应该是：localhost：8080/app/hello
   * */


  @RequestMapping("/hello")
 public void handler(){
    System.out.println("get your massage with hello");
 }

}
